package com.example.text.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.text.entity.AdminRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 规则与菜单关联表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
@Mapper
public interface AdminRoleMenuDao extends BaseMapper<AdminRoleMenu> {

    //根据Rids的集合，找到（Rid=AdminRoleMenu.rid)符合的所有数据
    List<AdminRoleMenu> findAllListByRids(@Param("Rids") List<Integer> Rids);


}
